package com.ninthgroup.mapper;

import com.ninthgroup.entity.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer mId);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer mId);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);



    List<Order> selectAll();

    List<Order> selectByIdAndPhone(@Param("mIdcard") String mIdcard, @Param("mTelephone")String mTelephone);
}